Package com.cisco.pt.ipc.sim.pdu.impl
Class CustomPduImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.CustomPduImpl
- Direct Known Subclasses:
CustomIOPduImpl,IoePduImpl
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetCustomFieldsJson(String customFieldsJson) voidsetCustomPduType(String customPduType) voidsetCustomProtocol(String customProtocol) voidsetRawBuffer(List<Byte> rawBuffer) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
rawBuffer
-
customProtocol
-
customPduType
-
customFieldsJson
-
-
Constructor Details
-
CustomPduImpl
public CustomPduImpl()
-
-
Method Details
-
getRawBuffer
- Specified by:
getRawBufferin interfaceCustomPdu- Returns:
- List<Byte> Returns a List<Byte>
-
setRawBuffer
- Specified by:
setRawBufferin interfaceCustomPdu- Parameters:
rawBuffer- Takes in a parameter of rawBuffer
-
getCustomProtocol
- Specified by:
getCustomProtocolin interfaceCustomPdu- Returns:
- String Returns a String
-
setCustomProtocol
- Specified by:
setCustomProtocolin interfaceCustomPdu- Parameters:
customProtocol- Takes in a parameter of customProtocol
-
getCustomPduType
- Specified by:
getCustomPduTypein interfaceCustomPdu- Returns:
- String Returns a String
-
setCustomPduType
- Specified by:
setCustomPduTypein interfaceCustomPdu- Parameters:
customPduType- Takes in a parameter of customPduType
-
getCustomFieldsJson
- Specified by:
getCustomFieldsJsonin interfaceCustomPdu- Returns:
- String Returns a String
-
setCustomFieldsJson
- Specified by:
setCustomFieldsJsonin interfaceCustomPdu- Parameters:
customFieldsJson- Takes in a parameter of customFieldsJson
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-